﻿package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SSeqSprite extends IMessageBase
    {
        public var sprites:Array;
        public var equipcombat:Array;
        public const _type:int = 18002;
        public static var _regist:SSeqSprite = new SSeqSprite(true);

        public function SSeqSprite(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SSeqSprite();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            SeqSpriteHelper.write(param1, this.sprites);
            SeqSpriteEquipCombatHelper.write(param1, this.equipcombat);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.sprites = SeqSpriteHelper.read(param1);
            this.equipcombat = SeqSpriteEquipCombatHelper.read(param1);
            return;
        }// end function

    }
}
